package com.ruoyi.goods.service;

import java.util.List;
import com.ruoyi.goods.domain.WGoodsInfo;

/**
 * 货物建材Service接口
 * 
 * @author wzy
 * @date 2024-08-30 16:21:42
 */
public interface IWGoodsInfoService 
{
    /**
     * 查询货物建材
     * 
     * @param goodsId 货物建材主键
     * @return 货物建材
     */
    public WGoodsInfo selectWGoodsInfoByGoodsId(Long goodsId);

    /**
     * 查询货物建材列表
     * 
     * @param wGoodsInfo 货物建材
     * @return 货物建材集合
     */
    public List<WGoodsInfo> selectWGoodsInfoList(WGoodsInfo wGoodsInfo);

    /**
     * 新增货物建材
     * 
     * @param wGoodsInfo 货物建材
     * @return 结果
     */
    public int insertWGoodsInfo(WGoodsInfo wGoodsInfo);

    /**
     * 修改货物建材
     * 
     * @param wGoodsInfo 货物建材
     * @return 结果
     */
    public int updateWGoodsInfo(WGoodsInfo wGoodsInfo);

    /**
     * 批量删除货物建材
     * 
     * @param goodsIds 需要删除的货物建材主键集合
     * @return 结果
     */
    public int deleteWGoodsInfoByGoodsIds(Long[] goodsIds);

    /**
     * 删除货物建材信息
     * 
     * @param goodsId 货物建材主键
     * @return 结果
     */
    public int deleteWGoodsInfoByGoodsId(Long goodsId);
}
